#!/usr/local/bin/lua
-- Script for creating the databases


local osbf = require("osbf")

-- database classes to be created
dbset = { classes = {"nonspam.cfc", "spam.cfc"} }

-- number of buckets in each database
num_buckets = 94321

-- remove old databases
osbf.remove_db(dbset.classes)

-- create new, empty databases
osbf.create_db(dbset.classes, num_buckets)

